package netty.service.impl;

import netty.service.IUserService;
import org.springframework.stereotype.Service;

@Service
public class UserService implements IUserService
{

	public int sum(int x, int y)
	{
		return x + y;
	}

	public String sayHi(String name)
	{
		return null;
	}

	public String sayHi(String name, int age)
	{
		return name + "," + age;
	}

	public int sum()
	{
		return 1000;
	}

}
